/******************

Template stylesheet

******************/

/* BODY */

html {
    height: 100%;
}

body {
    height: 100%;
    overflow: hidden;
    margin: 0;
    font: 16px/1.4 'Open Sans', sans-serif;
    text-align: center;
}

/* VERTICAL ALIGN HELPER */

#helper {
    content: "";
    display: -moz-inline-box;
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    width: 0px;
    zoom: 1;
    //display: inline;
}

/* MAIN CONTENT */

#main {
    max-width: 50%;
    display: inline-block;
    vertical-align: middle;
}

/* LOGO */

#logo {
    max-width: 100%;
}

/* SUBHEADER */

#subheader {
    font-size: 24px;
    font-weight: 300;
}

/* DESCRIPTION */

#description {
    margin: 30px 0;
}

/* SUBSCRIBE */

#subscribe {
    margin-bottom: 60px;
    position: relative;
    white-space: nowrap;
}

#subscribe-email {
    width: 400px;
    padding: 14px 10px;
    font-size: 18px;
    color: #363636;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;   
    outline: none;
}

#subscribe-submit {
    cursor: pointer;
    padding: 14px;
    outline: none;

    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 1px 0 #000;


    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top: 1px solid #97CBFF;
    border-bottom: 1px solid #0743bc;

    background: #0743bc;
    background: -moz-linear-gradient(top, #007eff, #0743bc);
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0%, #0743bc), color-stop(100%, #007eff));
    background: -webkit-linear-gradient(top, #007eff, #0743bc);
    background: -ms-linear-gradient(top, #007eff, #0743bc);
    background: -o-linear-gradient(top, #007eff, #0743bc);
    background: linear-gradient(top, #007eff, #0743bc);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#007eff', EndColorStr='#0743bc')";
}

#subscribe-submit:hover {
    background: #094FE1;
    background: -moz-linear-gradient(top, #2B95FF, #094FE1);
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0%, #094FE1), color-stop(100%, #2B95FF));
    background: -webkit-linear-gradient(top, #2B95FF, #094FE1);
    background: -ms-linear-gradient(top, #2B95FF, #094FE1);
    background: -o-linear-gradient(top, #2B95FF, #094FE1);
    background: linear-gradient(top, #2B95FF, #094FE1);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#2B95FF', EndColorStr='#094FE1')";
}

#subscribe-submit:active {
    border-top: 1px solid #031D52;
    background: #0743bc;

    -webkit-box-shadow: inset 0 2px 8px #031D52;
    -moz-box-shadow: inset 0 2px 8px #031D52;
    box-shadow: inset 0 2px 8px #031D52;
}

#subscribe-tooltip {
    position: absolute;
    width: 100%;
    margin-top: 15px;
}

#subscribe-tooltip.success {
    color: #0f0;
}

#subscribe-tooltip.error {
    color: #f00;
}

/* SOCIAL */

#social > a {
    margin: 0 10px;
    display: inline-block;
    width: 48px;
    height: 48px;
    background-position: -48px top;
    background-repeat: no-repeat;
    vertical-align: top;
}

#social > a:hover {
    background-position: 0 top;
}

#social-twitter {
    background-image: url(../img/social-twitter.png);
}

#social-facebook {
    background-image: url(../img/social-facebook.png);
}

#social-google {
    background-image: url(../img/social-google.png);
}

#social-vimeo {
    background-image: url(../img/social-vimeo.png);
}

/* COUNTDOWN */

#countdown {
    margin-top: 60px;
    text-align: center;
}

#countdown > div {
    display: inline-block;
    position: relative;
    margin: 0 20px 20px;
    text-shadow: 0 1px 0 #000;
}

.countdown-number-container {
    position: relative;
    overflow: hidden;
    width: 96px;
    height: 64px;
    font-size: 32px;
    font-weight: 800;
    line-height: 64px;
    border-radius: 6px;
    border-width: 1px;
    border-type: solid;
}

.countdown-number {
    display: inline-block;
    width: 96px;
    text-align: center;
    line-height: 32px;
    vertical-align: middle;
}

.countdown-text {
    font-weight: 300;
    font-size: 18px;
    margin-top: 10px;
}

/* Responsive magic */

@media only screen and (max-width: 767px) {
    #subscribe-email {
        width: 200px;
        padding: 5px;
    }

    #subscribe-submit {
        padding: 5px;
    }

    #helper {
        height: 0;
    }

    #social a {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 479px) {
    body {
        padding: 30px;
        text-align: left;
    }
}
